package com.mall.mapper;

import com.mall.po.Invoice;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface InvoiceMapper {

    int deleteByPrimaryKey(Integer deliverid);

    int insert(Invoice record);

    int insertSelective(Invoice record);

    Invoice selectByPrimaryKey(Integer deliverid);

    int updateByPrimaryKeySelective(Invoice record);

    int updateByPrimaryKey(Invoice record);



    boolean deleteBydeliverids(Integer[] deliverids);

    List<Invoice> selectInvoiceBypage(@Param("page") int page, @Param("pagesize") int pagesize);
}